<!DOCTYPE html>
<html class="x-admin-sm">
<head>
<meta charset="UTF-8">
<title></title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="__ADMIN__/css/font.css">
<link rel="stylesheet" href="__ADMIN__/css/xadmin.css">
<script type="text/javascript" src="__ADMIN__/js/jquery.min.js"></script>
<script type="text/javascript" src="__ADMIN__/js/xadmin.js"></script>
<script type="text/javascript" src="__ADMIN__/js/cookie.js"></script>
{include file="public/layui" /}
<style>
	.layui-btn+.layui-btn{
    margin-left: 0;
}
</style>
</head>

<body>
<div class="x-nav">
	<span class="layui-breadcrumb">
		<a>
			<cite></cite>
		</a>
	</span>
	<a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
		<i class="layui-icon layui-icon-refresh-3" style="line-height:30px"></i>
	</a>
</div>
<div class="x-body x-admin">
	<div class="layui-table-body layui-table-main" style="width: 100%;">
		<table class="layui-table layui-form" id="table1"></table>
	</div>
	<div class="layui-table-body layui-table-main" style="width: 100%;">
		<table class="layui-table layui-form" id="table2"></table>
	</div>
	<div class="layui-table-body layui-table-main" style="width: 100%;">
		<table class="layui-table layui-form" id="table3"></table>
	</div>
</div>
<script type="text/html" id="toolbarDemo">
      <div class="table-title">
        <form class="layui-form" action="" style="display: inline;">
            <div class="layui-input-inline" style="width:90px">
                <select>
                    <option>2023</option>
                </select>
            </div>
            年
            <div class="layui-input-inline" style="width:65px">
                <select lay-filter="month">
                    <option value="02" {$month=='02'?'selected':''}>02</option>
                    <option value="03" {$month=='03'?'selected':''}>03</option>
                    <option value="04" {$month=='04'?'selected':''}>04</option>
                    <option value="05" {$month=='05'?'selected':''}>05</option>
                    <option value="06" {$month=='06'?'selected':''}>06</option>
                    <option value="07" {$month=='07'?'selected':''}>07</option>
                    <option value="08" {$month=='08'?'selected':''}>08</option>
                    <option value="09" {$month=='09'?'selected':''}>09</option>
                    <option value="10" {$month=='10'?'selected':''}>10</option>
                    <option value="11" {$month=='11'?'selected':''}>11</option>
                    <option value="12" {$month=='12'?'selected':''}>12</option>
                </select>
            </div>
        </form>
        有收益但未申报的直播间
      </div>
</script> 
<script type="text/html" id="toolbarDemo1">
      <div class="table-title">
        有直播申请但未申报的直播间
      </div>
</script> 
<script type="text/html" id="toolbarDemo3">
      <div class="table-title">
        有礼物申请但未申报的直播间
      </div>
</script> 
<script type="text/html" id="bar">
<div class="layui-clear-space">
</div>
</script> 
<script type="text/html" id="jobnameTpl">

</script>
<script>
layui.use(['form','layer','jquery','table','util'], function(){
    form = layui.form,
    layer = layui.layer
    ,$ = layui.jquery
    ,table = layui.table
    ,util = layui.util;
    
    form.on('select(month)', function(data){
        window.location.href="?month="+data.value
    });
        
    
    table.render({
        elem: '#table1',
        url:'{:url('performance/missingLive')}?page=999&type=table1&month={$_GET['month']}', 
        toolbar: '#toolbarDemo',
        defaultToolbar: ['filter', 'exports', 'print', {
          title: '提示',
          layEvent: 'LAYTABLE_TIPS',
          icon: 'layui-icon-tips'
        }],
        height: $(window).height() *0.48,
        cellMinWidth: 80,
        //totalRow: true, 
        limis: 9999,
        page: false,
        cols: [function(){
            var arr = [
                {field:'id', title:'直播间id', width:80},
                {field:'title', title:'活动名称'},
                
                {field:'admin_name', title:'所属账号', width:90},
                {field:'start_at', title:'投票时间', width:125},
                {field:'end_at', title:'投票时间', width:125},
                //{title:'操作', fixed: 'right', width:200, toolbar: '#bar'},
            ];
            return arr;
        }() ],  
        done: function(){
        }
    });
    table.render({
        elem: '#table2',
        url:'{:url('performance/missingLive')}?page=999&type=table2&month={$_GET['month']}', 
        toolbar: '#toolbarDemo1',
        defaultToolbar: ['filter', 'exports', 'print', {
          title: '提示',
          layEvent: 'LAYTABLE_TIPS',
          icon: 'layui-icon-tips'
        }],
        height: $(window).height() *0.48,
        cellMinWidth: 80,
        //totalRow: true, 
        limis: 9999,
        page: false,
        cols: [function(){
            var arr = [
                {field:'live_id', title:'直播间id', width:80},
                {field:'title', title:'活动名称'},
                
                {field:'admin_name', title:'所属账号', width:90},
                {field:'start_at', title:'投票时间', width:125},
                {field:'end_at', title:'投票时间', width:125},
                
                //{title:'操作', fixed: 'right', width:200, toolbar: '#bar'},
            ];
            return arr;
        }() ],  
        done: function(){
        }
    });
    table.render({
        elem: '#table3',
        url:'{:url('performance/missingLive')}?page=999&type=table3&month={$_GET['month']}', 
        toolbar: '#toolbarDemo1',
        defaultToolbar: ['filter', 'exports', 'print', {
          title: '提示',
          layEvent: 'LAYTABLE_TIPS',
          icon: 'layui-icon-tips'
        }],
        height: $(window).height() *0.48,
        cellMinWidth: 80,
        //totalRow: true, 
        limis: 9999,
        page: false,
        cols: [function(){
            var arr = [
                {field:'live_id', title:'直播间id', width:80},
                {field:'title', title:'活动名称'},
                
                {field:'admin_name', title:'所属账号', width:90},
                {field:'start_at', title:'投票时间', width:125},
                {field:'end_at', title:'投票时间', width:125},
                //{title:'操作', fixed: 'right', width:200, toolbar: '#bar'},
            ];
            return arr;
        }() ],  
        done: function(){
        }
    });
        
});

</script>
</body>

</html>